//
//  KLHistoricalRateChartView.h
//  KLCurrency
//
//  Created by apple on 2018/1/4.
//  Copyright © 2018年 bonc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, KLHistoricalRateState) {
    KLHistoricalRateStateNoNetWork,
    KLHistoricalRateStateRequestFailed,
    KLHistoricalRateStateRequestSuccess,
    KLHistoricalRateStateLocalTest,
};

@class KLHistoricalRate;

@interface KLHistoricalRateChartView : UIView

@property (copy, nonatomic) NSArray<KLHistoricalRate *> *dataArray;

@property (assign, nonatomic) KLHistoricalRateState state;

//清空曲线视图
- (void)clearCurveView;
//交换前后查询汇率货币
- (void)reverseCurrencies;

//加载动画
- (void)startLoading;
//停止加载
- (void)stopLoading;


@end
